package org.opentcs.kcvehicle.communication.kc.common;


import java.util.Arrays;

public class Package {

  private byte[] body;
  private String transationId;


  public Package(byte[] body, String transationId) {
    this.body = body;
    this.transationId = transationId;
  }

  public byte[] getBody() {
    return body;
  }

  public void setBody(byte[] body) {
    this.body = body;
  }

  public String getTransationId() {
    return transationId;
  }

  public void setTransationId(String transationId) {
    this.transationId = transationId;
  }

  @Override
  public String toString() {
    return "Package{" +
        "body=" + Arrays.toString(body) +
        ", transationId='" + transationId + '\'' +
        '}';
  }
}
